import request from '@/utils/request'

// 好友列表
export const queryFriendsList = (params) => {
  return request('GET', '/app/friend/list', params)
}

// 单向添加好友 
export const queryAddFriend = (params) => {
  return request('POST', '/app/friend', params)
}

// 修改备注
export const updateFriendRemarks = (params) => {
  return request('PUT', '/app/friend', params)
}

// 好友详情
export const queryFriendInfo = (id,params) => {
  return request('GET', `/app/user/${id}`, params)
}

// 好友删除
export const deleteFriend = (id) => {
  return request('DELETE', `/app/friend/${id}`)
}

